package designPattern.factory.simple;

public class test {
    public static void main(String[] args) {
        SimpleFactory factory = new SimpleFactory();
//        ICourse course = factory.create("java");
        ICourse course = factory.create(PythonCourse.class);
        course.record();
    }
}